/**
Zeke Elder - zbe@andrew.cmu.edu
Amal Chemmany - achemman@andrew.cmu.edu
Nishant Kumar - nkumar1@andrew.cmu.edu
15-637
4/2/2012
 **/

package edu.cmu.fithub.actions;

import javax.servlet.http.HttpServletRequest;

import edu.cmu.fithub.controller.Action;

public class ShowCommentAction extends Action {

	public ShowCommentAction() {
	}

	public String getName() {
		return "showComment.do";
	}

	public String perform(HttpServletRequest request) {
		String postId = request.getParameter("postId");
		request.setAttribute("postId", postId);
		String postType = request.getParameter("postType");
		request.setAttribute("postType", postType);
		return "comment.jsp";
	}
}
